package com.unhz.taigu.service.permission;

import com.unhz.generator.pojo.SysPermission;

import java.util.List;

/**
 * Created by cxg on 2017/11/14 0014.
 *
 * @Author 曹显贵
 * @Date 2017/11/14 0014 11:47
 */
public interface SysPermissionCustomService {

    List<SysPermission> findMenuByUserId(Integer id);

    List<SysPermission> findPermissionByUserId(Integer id);

    List<SysPermission> findPermissionByRoleId(Integer roleId);

    List<SysPermission> findMenuByRoleId(Integer roleId);
}
